﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="common/jsp/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>后台管理导航</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<link href="common/css/CssAdmin.css" type="text/css"  rel="stylesheet" />
<SCRIPT language=javascript src="common/js/Admin.js"></SCRIPT>

<script language="JavaScript">
<!--//
function ShowMenu(obj,noid){
	var block =	document.getElementById(noid);
	var n = noid.substr(noid.length-1);
	if(noid.length==4){
		var h2 = document.getElementById(noid.substring(0,3)).getElementsByTagName("h2");
		for(var i=0; i<h2.length;i++){
			h2[i].style.color = "";
		}
		obj.style.color = "#FF0000";
	}else{
		var span = document.getElementById("leftmenu").getElementsByTagName("span");
		var h1 = document.getElementById("leftmenu").getElementsByTagName("h1");
		for(var i=0; i<h1.length;i++){
			//h1[i].innerHTML = h1[i].innerHTML.replace("+","-");
			h1[i].style.color = "";
		}
		obj.style.color = "#0000FF";
		for(var i=0; i<span.length; i++){if(i!=n){span[i].style.display="none";}}
	}
	if(block.style.display=="none"){
		block.style.display="block";
		//obj.innerHTML = obj.innerHTML.replace("-","+");
	}else{
		block.style.display="none";
		obj.style.color = "";
	}
}
//-->
</script>
</HEAD>
<BODY onmouseover="self.status='欢迎使用信息化管理系统!';return true" >
<div class="leftmenutop1">功能列表</div>
<div id="leftmenu">
	<s:iterator value="menuModules" id="menu" status="st">
	 <s:if test="#menu.childMenu.size>0">
	  <h1 onClick="ShowMenu(this,'NO<s:property value="#st.index" />')">
	    <img src="common/images/leftico3.gif"/>&nbsp;<s:property value="#menu.name" />
	  </h1><p>>></p>
	  <s:if test="#st.index==0">
	    <span id='NO<s:property value="#st.index" />' style="display:block;">
	  </s:if>
	  <s:else>
	    <span id='NO<s:property value="#st.index" />' style="display:none;">
	  </s:else>
	  <s:iterator value="#menu.childMenu" id="childMenu" status="cst">
	    <a href='<s:property value="#childMenu.url" />' target='<s:property value="#childMenu.target" />'>
	      <h2> - <s:property value="#childMenu.name" /></h2><p>>></p>
	    </a>
	  </s:iterator>
	  </span>
	 </s:if>
	</s:iterator>
	<!--
	<h1 onClick="ShowMenu(this,'NO5')"><img src="common/images/leftico3.gif"/> 统计报表</h1><p>>></p>
	<span id="NO5" style="display:none;">
		<a href="reasonReport.action" target="mainFrame"><h2> - 异常统计图</h2><p>>></p></a>
	    <a href="reasonList.action" target="mainFrame"><h2> - 异常查询</h2><p>>></p></a>
	</span>
	-->
</div>
</BODY></HTML>

